:: [IO a] -> IO [a] -package:dimensional package:parallel-io

Execute the given actions in parallel on the global thread pool, returning the results in the same order as the corresponding actions. Users of the global pool must call stopGlobalPool from the main thread at the end of their program. See also parallel.
Execute the given actions in parallel on the global thread pool, returning the results in the approximate order of completion. Users of the global pool must call stopGlobalPool from the main thread at the end of their program. See also parallelInterleaved.